package com.planegame.utils;

import com.planegame.Obj.EnemyObj;
import com.planegame.Obj.EnemyShellObj;
import com.planegame.Obj.GameObject;
import com.planegame.Obj.ShellObj;

import java.awt.*;
import java.util.ArrayList;
import java.util.List;

   //这是个工具类

public class Gameutils {

    //从文件中设置图像

    public static Image bgImg=Toolkit.getDefaultToolkit().getImage("imags/movebg.png");
    public static Image bossImg=Toolkit.getDefaultToolkit().getImage("imags/boss.png");
    public static Image explodeImg=Toolkit.getDefaultToolkit().getImage("");
    public static Image planeImg=Toolkit.getDefaultToolkit().getImage("imags/plane.png");
    public static Image shellImg=Toolkit.getDefaultToolkit().getImage("imags/shell.png");
    public static Image EnemyImg=Toolkit.getDefaultToolkit().getImage("imags/enemy.png");
    public static Image EnemyShellImg=Toolkit.getDefaultToolkit().getImage("imags/shell.png");


    //集合
    public static List<ShellObj>shellObjList=new ArrayList<>();
    public static List<EnemyShellObj>enemyshellObjList=new ArrayList<>();
    public static List<GameObject>gameObjList=new ArrayList<>();
    public static List<EnemyObj>enemyObjList=new ArrayList<>();
    public static List<GameObject>removeList=new ArrayList<>();
}